<?php
class UpdatePanel extends Control {

    public function bind() {

        foreach ($this->controls as $Control) {

            $Control->bind();
        }
    }

    public function process() {

        foreach ($this->controls as $Control) {

            $Control->process();
        }
    }

    public function render() {

        $str = '';

        $str .= '<div id="' . $this->id . '">';

        foreach ($this->controls as $Control) {

            $str .= $Control->render();
        }

        $str .= '</div>';

        return $str;
    }
}
?>